package com.yanqingying.mapper;
import com.yanqingying.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;

import java.util.List;
@Mapper
public interface UserMapper {
    //数据库里面的名称映射到实体类
    @Results({
            @Result(column = "create_time", property = "createTime")
    })
    List<User> list();
}
